package com.Maykk.Demo03;

/**
 * @ClassName: MyRunnable
 * @Description: TODO
 * @Author: MaykkStar@163.com
 */
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        String[] songs = {
                "蒸羊羔",
                "蒸熊掌",
                "蒸鹿尾儿",
                "烧花鸭",
                "烧雏鸡",
                "烧子鹅",
                "卤猪",
                "卤鸭",
                "酱鸡",
                "腊肉",
                "松花小肚儿"
        };
        for (String song : songs) {
            System.out.printf("%-5s报菜名：%s\n", Thread.currentThread().getName(), song);
        }
    }
}
